// 本地存储
export const setItem = (item, value) => {
  return window.localStorage.setItem(item, JSON.stringify(value))
}
// 获取本地存储
export const getItem = (item) => {
  const result = window.localStorage.getItem(item)
  return JSON.parse(result)
}
// 删除本地存储
export const removeItem = (item) => {
  return window.localStorage.removeItem(item)
}
